package com.css.project.item.domain;

import com.css.framework.aspectj.lang.annotation.Excel;
import com.css.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 项目信息对象 pro_item
 * 
 * @author css
 * @date 2020-05-09
 */
public class ProItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String itemName;

    /** 项目财务编号 */
    @Excel(name = "项目财务编号")
    private String itemFinanceNo;

    /** 项目所属部门 */
    @Excel(name = "项目所属部门")
    private Long deptId;

    /** 项目经理 */
    @Excel(name = "项目经理")
    private Long[] itemUsers;
    /** 项目组经理 */
    @Excel(name = "项目组经理")
    private Long[] itemPersons;
    /** 备注 */
    @Excel(name = "备注")
    private String itemRemark;

    /** $column.columnComment */
    @Excel(name = "创建机构")
    private Long createOrg;

    /** $column.columnComment */
    @Excel(name = "创建人")
    private Long createor;

    private String deptName;//项目所属部门名称

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName;
    }
    public void setItemFinanceNo(String itemFinanceNo) 
    {
        this.itemFinanceNo = itemFinanceNo;
    }

    public String getItemFinanceNo() 
    {
        return itemFinanceNo;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setItemUsers(Long[] itemUsers)
    {
        this.itemUsers = itemUsers;
    }

    public Long[] getItemUsers()
    {
        return itemUsers;
    }

    public void setItemPersons(Long[] itemPersons)
    {
        this.itemPersons = itemPersons;
    }

    public Long[] getItemPersons()
    {
        return itemPersons;
    }
    public void setItemRemark(String itemRemark) 
    {
        this.itemRemark = itemRemark;
    }

    public String getItemRemark() 
    {
        return itemRemark;
    }
    public void setCreateOrg(Long createOrg) 
    {
        this.createOrg = createOrg;
    }

    public Long getCreateOrg() 
    {
        return createOrg;
    }
    public void setCreateor(Long createor) 
    {
        this.createor = createor;
    }

    public Long getCreateor() 
    {
        return createor;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptName() {
        return deptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("itemName", getItemName())
            .append("itemFinanceNo", getItemFinanceNo())
            .append("deptId", getDeptId())
            .append("itemUsers", getItemUsers())
                .append("itemPersons", getItemPersons())
            .append("itemRemark", getItemRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createOrg", getCreateOrg())
            .append("createor", getCreateor())
            .toString();
    }
}
